//package com.example.seh.constant;
//
//public class Constant {
//    //广场地址
//    public static final String SQUARE_URL = "http://10.7.86.124:8020/post/findPost/";
//
//    //新增帖子
//    public static final String ADD_POST = "http://10.7.86.124:8020/file/uploadsMultiple?";
//    //帖子详情
//    public static final String DETAIL_POST = "http://10.7.86.124:8020/post/findPostById/";
//
//    //新增闲置
//    public static final String ADD_IDLE = "http://10.7.86.124:8020/esGoods/addGoods";
//
//    //新增跑腿
//    public static final String ADD_ERRANDS = "http://10.7.86.124:8020/deliver/addNewDeliver";
//
//    //搜索框发送
//    public static final String SEARCH_SEND = "http://10.7.86.124:8020/esGoods/searchHits?";
//
//    //我的帖子
//    public static final String MY_POST = "http://10.7.86.124:8020/post/findPostByUserId?";
//
//    //我发布的
//    public static final String MY_PUBLISH = "http://10.7.86.124:8020/goods/findAllGoodsByUserId?";
//    public static final String MY_PUBLISH_ERRAND = "http://10.7.86.124:8020/deliver/findAllDeliverByUserId?";
//    //删除我发布的
//    public static final String ERRAND_DELETE = "http://10.7.86.124:8020/deliver/deleteDeliver/";
//    public static final String PUBLISH_DELETE = "http://10.7.86.124:8020/goods/deleteGoods/";
//    public static final String POST_DELETE = "http://10.7.86.124:8020/post/deletePostById/";
//

package com.example.seh.constant;
public class Constant {
    // Server IP addresses
    public static final String SERVER_IP_XT = "http://10.7.86.124:";
    public static final String SERVER_IP_JWB = "http://10.7.86.124:";

    //敏感词检索
    public static final String SENSITIVE_WORD = "https://api.wordscheck.com/check?key=aQprzN0lqqxQeW67Qg6qHBUnfJ7W4C6N&content=";

    //广场地址
    public static final String SQUARE_URL = SERVER_IP_JWB + "8020/post/findPost/";

    //新增帖子
    public static final String ADD_POST = SERVER_IP_JWB + "8020/file/uploadsMultiple?";
    //帖子详情
    public static final String DETAIL_POST = SERVER_IP_JWB + "8020/post/findPostById/";

    //新增闲置
    public static final String ADD_IDLE = SERVER_IP_JWB + "8020/esGoods/addGoods";

    //新增跑腿
    public static final String ADD_ERRANDS = SERVER_IP_JWB + "8020/deliver/addNewDeliver";

    //搜索框发送
    public static final String SEARCH_SEND = SERVER_IP_JWB + "8020/esGoods/searchHits?";

    //我的帖子
    public static final String MY_POST = SERVER_IP_JWB + "8020/post/findPostByUserId?";

    //我发布的
    public static final String MY_PUBLISH = SERVER_IP_JWB + "8020/goods/findAllGoodsByUserId?";
    public static final String MY_PUBLISH_ERRAND = SERVER_IP_JWB + "8020/deliver/findAllDeliverByUserId?";
    //删除我发布的
    public static final String ERRAND_DELETE = SERVER_IP_JWB + "8020/deliver/deleteDeliver/";
    public static final String PUBLISH_DELETE = SERVER_IP_JWB + "8020/goods/deleteGoods/";
    public static final String POST_DELETE = SERVER_IP_JWB + "8020/post/deletePostById/";

    //我的订单
    public static final String MY_SELL = SERVER_IP_JWB + "8020/order/findAllOrderByUserIdAndOrderStatus?";
    public static final String MY_ERRAND = SERVER_IP_JWB + "8020/deliver/findAllDeliverUserDo?";

    //我的商品
    public static final String MY_BOUGHT = SERVER_IP_JWB + "8020/order/findAllOrderByBought?";
    public static final String MY_ERRANDS = SERVER_IP_JWB + "8020/deliver/findAllDeliverUserBy?";
    public static final String CONFIRM_BOUGHT = SERVER_IP_JWB + "8020/order/updateOrderDone/";
    public static final String CONFIRM_DELIVER = SERVER_IP_JWB + "8020/deliver/updateDeliverDone/";

    //下拉框选择查询
    public static final String SELECT_SECOND = SERVER_IP_JWB + "8020/goods/findAllGoodsByAddress?";
    public static final String SELECT_ERRAND = SERVER_IP_JWB + "8020/deliver/findAllDeliverByAddress?";

    public static final String GETCODE = SERVER_IP_JWB + "8010/user/sendSms?";//点击获取验证码
    public static final String REGIST = SERVER_IP_JWB + "8010/user/register?";//点击注册
    public static final String LOGINCODE = SERVER_IP_JWB + "8010/user/loginByCode?";//验证码登录
    public static final String LOGINPASSWORD = SERVER_IP_JWB + "8010/user/loginByPassword?";//密码登录
    public static final String FINDALLGOODS = SERVER_IP_JWB + "8020/goods/findAll";//展示所有商品
    public static final String FINDALLCOURIER = SERVER_IP_JWB + "8020/deliver/findAllDeliverInfo";//展示所有快递
    public static final String COURIER = SERVER_IP_JWB + "8020/deliver/deleteDeliver/";//代取快递
    public static final String GETADDRESS = SERVER_IP_JWB + "8020/address/findAddressByUserId/";//查询某个用户所有地址
    public static final String UPDATEUSER = SERVER_IP_JWB + "8010/user/updateUserInfo";//修改个人信息
    public static final String DELETEADDRESS = SERVER_IP_JWB + "8020/address/deleteAddress/";//删除地址
    public static final String SUBMITAVATAR = SERVER_IP_JWB + "8010/user/uploadPic";//上传头像
    public static final String FORGETPASSWORD = SERVER_IP_JWB + "8010/user/forgetSoChangePassword";//找回密码
    public static final String SENDMSG = SERVER_IP_XT + "8020/msg/insertMsg";//发消息
    public static final String SENDIMG = SERVER_IP_XT + "8020/msg/uploadImgMsg";//发图片
    public static final String FINDMSGLIST = SERVER_IP_XT + "8020/msg/getLastUserDTO?";//消息列表查询聊过天的人
    public static final String FINDMSG = SERVER_IP_XT + "8020/msg/getMsgDetail?";//查找聊天记录

    public static final String ADDORDER = SERVER_IP_JWB + "8020/order/addOrder";//提交商品订单
    public static final String ADDDELIVERORDER = SERVER_IP_JWB + "8020/deliver/updateDeliver?";//提交快递订单
    public static final String SETIP = SERVER_IP_JWB + "8010/user/updateIpAddressByUserId?";//设置ip
    public static final String UPDATE_ORDER_STATUS = SERVER_IP_JWB + "8020/order/updateOrderStatus/";//支付失败

    public static boolean isLogin = false;
    public static boolean isGetAddress = false;
    public static boolean isChat = false; //是否打开聊天界面
    public static boolean isFirstChat = true; //是否刚打开聊天界面
}
